Adaptive, scalable packet loss recovery

ABSTRACT

A system for transmitting data packets representing a source signal across a packet data network is provided. Additionally provided are methods and an apparatus for encoding parameters representing the source signal and also decoding these parameters. The system allows adaptation to the loss scenario of data packets transmitted across the packet data network. A redundancy encoding is generated with a bit rate continuously scalable, the bit rate being provided by a bit rate controller that uses input from the network and packet-loss rate information. The specification can be changed for each coding block. At the decoder, recovery is performed by a parameter estimator based on a dynamically generated statistical model of the effect of the quantizers. The method may be added to existing lossy source coding systems or may be used to enhance the quality of the reconstructed source signal even in scenarios without packet loss.

The present application is a Continuation of and claims priority to co-pending non-provisional U.S. patent application Ser. No. 13/227,822 filed Sep. 8, 2011, which is a Continuation of non-provisional U.S. patent application Ser. No. 12/595,814 filed Oct. 13, 2009, (U.S. Pat. No. 8,325,622 issued on Dec. 4, 2012), which is the National Phase of PCT International Application No. PCT/EP2008/054114, filed on Apr. 4, 2008 and claims priority to U.S. Provisional Application No. 60/907,711 filed on Apr. 13, 2007, and to patent application Ser. No. 07/106,140.2 filed in Europe on Apr. 13, 2007. The entire contents of all of the above applications are hereby incorporated by reference.

FIELD OF THE INVENTION

The present invention relates generally to a method for transmitting data packets representing a source signal across a packet data network and in particular to methods and apparatus for, on the one hand, encoding parameters representing the source signal and, on the other hand, decoding these parameters. The present invention relates in particular to encoding and decoding methods and apparatus for packet loss recovery in lossy network systems. The present invention may be applied to discrete-time signals such as multimedia signals (speech, audio signal and motion picture).

BACKGROUND OF THE INVENTION

Audio-visual communication over packet data networks has become more and more common. However, existing systems are lossy, i.e., data packets representing the signals to be transmitted over the packet data networks may be lost. Methods to address packet loss can be divided into two groups: receiver-based and sender-based methods. Sender-based methods, which introduce redundancy in the transmitted bit stream, are generally more powerful but require changes in both encoder and decoder, whereas receiver-based methods require changes in the decoder only. Many commonly used sender-based methods employ block channel codes as redundancy (e.g., forward error correction (FEC)) with a constant redundancy bit rate, thus protecting the primary encoding against packet loss. Other sender-based methods are based on multiple-description coding (MDC). A drawback of MDC-based strategies is that they cannot easily be added to existing systems and that the packet-loss robustness is integrated into the source coder. Other existing methods for sender-based recovery of lost packets are based on adding to a primary coding system vector quantizers (VQs) that must be trained off-line, which do not provide any flexibility in the coding of the signal to be transmitted since these vector quantizers require extra computation and/or predetermined lookup tables. These existing methods usually are dependent on the primary encoding through discrete statistical models, e.g., states of Markov models referring to VQ cells or on a particular packet-loss scenario. A problem is that these dependencies require different estimators or the training of several statistical models for different rates and different scenarios. Thus, there is a need for providing improved methods and devices that would overcome at least some of these problems.

SUMMARY OF THE INVENTION

An object of the present invention is to wholly or partly overcome the above disadvantages and drawbacks of the prior art and to provide an improved alternative to the above techniques and prior art.

A further object of the present invention is to provide a system for transmitting over a packet data network data packets representing a signal source, an apparatus for encoding parameters of the signal source, an apparatus for decoding the data packets transmitted over the packet data network and improved methods for encoding parameters of the signal source and for decoding these parameters.

The present invention provides method and apparatus for increasing the robustness to packet loss in lossy coding systems communicating over a packet data network or a packet-switched network such as the Internet or cellular telephone networks. The present invention may provide an improvement of lossy coding systems that do not provide sufficient robustness to packet loss. The present invention can be used as an extension of an existing lossy coding system, thus enabling the extended system to communicate with other extended systems with increased robustness to packet loss while communication with non-extended systems is still possible without increased robustness.

Hence, according to a first aspect of the present invention, an apparatus for encoding a source signal to be transmitted across a packet data network is provided.

According to a second aspect of the present invention, a method for encoding a source signal to be transmitted across a packet data network is provided.

The inventive apparatus and method for encoding the parameters of the source signal encode the parameters with a variable bit rate, which is continuously specified in the form of a bit rate control signal from a bit rate controller in response to input parameters such as a packet-loss statistics value. This is advantageous since the bit rate of the redundant encoding, or the packeting strategy, can then be adapted to the performance of the actual packet data network, thereby providing a more or less accurate redundant encoding by increasing or decreasing the bit rate, respectively. The redundancy rate may be changed for each coding block corresponding to a particular segment of the source signal. Another advantage is that such an apparatus for encoding can easily be added to existing encoders where the existing coder may be a legacy encoder.

According to an embodiment, the bit rate controller of the inventive apparatus for encoding may provide the bit rate control signal in response to both the packet-loss statistics value and information about conditions of the packet data network. In further embodiments, the information about conditions of the packet data network includes at least one of the following network parameters: current data load in said packet data network, data load policy of said packet data network and current cost per bit per second in said packet data network, which is advantageous since the variable bit rate may be adapted to the constraints and/or conditions of the network. As the allowable bit rate would in principle be infinite to provide the highest possible precision in transmission, parameters such as the current data load of the network limit the value of the bit rate allowed for the transmission of redundant encoding of the signal source.

According to a third aspect of the present invention, an apparatus for decoding a sequence of data packets transmitted across a packet data network, wherein each of the transmitted data packets includes a primary encoding and a redundant encoding of parameters representing a source signal, is provided.

According to a fourth aspect of the present invention, a method for decoding a sequence of data packets transmitted across a packet data network, wherein each of the transmitted data packets includes a primary encoding and a redundant encoding representing a source signal, is provided.

The inventive apparatus for decoding may easily be added to existing systems where a first decoder to decode the primary encoding may be a legacy decoder. A legacy decoder simply ignores the bit-stream component corresponding to the redundancy encoding while matched decoders, such as the apparatus of the present invention, use the redundancy encoding to improve the quality of the reconstructed signal in case of, e.g., packet losses.

Further, the inventive apparatus for decoding ensures good reconstruction quality and a constrained total rate since it decodes the parameter under the control of a bit rate control signal.

According to a fifth aspect of the present invention, a system for transmitting a sequence of data packets across a packet data network, wherein each of the transmitted data packets includes a primary encoding and a redundant encoding of parameters representing a source signal, is provided.

The high performance of the inventive system is partly due to statistical modelling at the apparatus for decoding, which modelling facilitates signal reconstruction when the bit stream is damaged. Further, as the inventive system is entirely based on an analytic, continuous source signal model, and as the present system uses computable quantizers, real-time adaptation of the redundancy encoding during transmission is enabled. In other words, the present invention provides a communication system which can be adapted to the actual packet loss scenario of the packet data network through reception of a bit rate control signal. Thus, the system may react to, and possibly prevent, network congestion.

The present methods and apparatus are also applicable in network scenarios without packet losses to, instead of retrieval of missing parameters, increase the reconstruction quality of the coding system.

Further objectives of, features of, and advantages with, the present invention will become apparent when studying the following detailed disclosure, the drawings and the appended claims. Those skilled in the art will realize that different features of the present invention can be combined to create embodiments other than those described in the following.

BRIEF DESCRIPTION OF THE DRAWINGS

The above, as well as additional objects, features and advantages of the present invention, will be better understood through the following illustrative and non-limiting detailed description of preferred embodiments of the present invention, with reference to the appended drawings, in which:

FIG. 1 shows a system for transmitting a source signal across a packet data network according to an embodiment of the present invention.

FIG. 2 shows a system for transmitting a source signal across a packet data network according to another embodiment of the present invention.

FIG. 3 shows an apparatus for encoding parameters of a signal source according to an embodiment of the present invention.

FIG. 4 shows a packet structure according to an embodiment of the present invention, which packet structure may be used in the embodiments described with reference to FIGS. 1-3 and 5.

FIG. 5 shows an apparatus for decoding data packets transmitted across a packet data network according to an embodiment of the present invention.

All the figures are schematic and generally only show parts which are necessary in order to elucidate the invention, wherein other parts may be omitted or merely suggested.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 1 shows a system from transmitting a source signal across a packet data network 130 according to an embodiment of the present invention. A source signal encoder or first coder 110 encodes a source signal and generates a primary encoding on a block-by-block basis, where a block typically is one or more time segments of the source signal. The blocks are usually but not necessarily of the same length. The source signal is generally encoded in the form of a sequence of data packets, each packet including a packet header. It is common but not necessary that the data packets are synchronous with the blocks corresponding to a particular time segment of the signal source, or a fraction thereof, or a set of segments.

In an embodiment, the primary encoding is assumed to be lossy, i.e., the reconstructed source signal generated by a corresponding source signal decoder or first decoder 150 in response to the received primary encoding is an approximation of the source signal. In particular embodiments, the source signal may be a speech signal, an audio signal, a motion picture, an audio-visual signal, or any other signal that may be encoded in a lossy way.

The data packets are transmitted over a communication channel or packet data network 130. If a packet is lost, some input information received by the first decoder 150 is missing, typically for one coding block. To maximize the quality of the reconstructed source signal, the missing parameters may be estimated by a parameter estimator 140. The parameter estimator 140 may operate in part in response to data received from other time blocks decoded by the first decoder 150. However, an improved estimate may be obtained if the parameter estimator operates in response to redundant information transmitted across the channel or packet data network 130.

Thus, in addition to the first coder 110 described above, the encoder 105 additionally includes a redundancy coder 120 to improve the performance of the parameter estimator 140.

With reference to FIG. 1, an embodiment of the apparatus 105 for encoding parameters of the source signal will be described. As shown in FIG. 1, the encoder or apparatus for encoding 105 includes a first coder 110 for generating a first set of parameters from the source signal and for performing a primary encoding of the first set of parameters. The encoder 105 further includes a redundancy coder 120 receiving from the first coder 110 the first set of parameters and the quantized first set of parameters. The Redundancy coder 120 performs a redundant encoding of a second set of parameters. In particular, the second set of parameters is generated using a subset (which can be the full set) of the first set of parameters and delayed quantized parameters generated by the first coder 110 from the first set of parameters. The redundancy coder 120 is adapted to encode the second set of parameters into a redundant bit stream having a variable bit rate corresponding to a received bit rate control signal. The bit rate control signal is provided by a bit rate controller 142 in response to a packet-loss statistics value received from a packet-loss statistics calculator 135 connected to the packet data network 130.

For a particular coding block, the encoded redundancy information produced by the redundancy encoder 120 is transmitted such that simultaneous loss of the parameters generated from the primary encoding and the corresponding redundant information encoded by the redundancy encoder is minimized.

In a particular embodiment, the second set of parameters may include information not encoded by the first coder 110 in the primary encoding. This allows increased precision of the reconstructed source signal if no packets are lost.

The bit rate provided to the redundancy coder 120 via the bit rate controller 142 is continuously variable, thereby allowing for the integer nature of bits. The redundancy bit rate or variable bit rate of the redundancy coder 120 is specified by the bit rate controller 142, which controller may be arranged at the encoder 105. However, the bit rate controller 142 may also be arranged at or near the decoder 115 as shown in FIG. 1 or any other location in the system.

The bit rate controller 142 determines the bit rate of the redundant encoding based on statistics of the packet-loss rate as seen by a packet-loss statistics calculator 136 arranged between the decoder 115 and the packet data network 130, i.e. on the receiver side of the system. However, the bit rate controller may also determine the bit rate based on prior knowledge and/or input parameters related to the conditions of the network. The variable bit rate should be identical for the encoder 105 and the decoder 115.

Information needed to specify the redundant bit rate at the encoder 105 and the decoder 115 (which requires very few bits) is transmitted in a redundant fashion using, e.g., a so-called feedback channel from the decoder 115 to the encoder 105 to ensure a robust transmission of the bit rate, as shown in FIG. 1.

In a particular embodiment, the packet-loss statistics calculator 135 estimates packet-loss statistics values by counting missing packets.

In a particular embodiment, the bit rate controller provides the bit rate control signal in response to both the packet-loss statistics value and information about the conditions of the packet data network 130. These conditions may be current data load in the packet data network, data load policy of the packet data network and current cost per bit per second in the packet data network.

The cost per bit per second may be set by a network control unit (not shown in the figures) such that the network load is reasonable, i.e., that the cost per bit per second increases when the network load increases and the cost per bit per second decreases when the network load decreases. The bit rate controller 142 has therefore the capability to trade quality of the transmission versus cost. As an example, the mean squared error, MSE, of the encoded parameters as a measure of distortion may be used. In the following, the monetary cost per bit per second is denoted by B. The mean squared error is a function of the redundancy rate R_(r), which can be expressed as MSE=MSE(R_(r)). Furthermore, the monetary cost B is set by the network control unit which is calibrated by a network operator (not illustrated in the figures). It is envisioned that the value of B can vary continuously. A reasonable objective for the bit rate controller 142 is to constrain the overall cost BR_(r), which, for a given first coder implies that BR_(r) is bound by a value B_(TOT). For maximizing the quality, i.e., minimizing the distortion, R_(r) is set to the maximum value allowed, which is R_(r)=B_(TOT)/B. In a further embodiment, the bit rate controller 142 minimizes a compound criterion based on quality and cost. As an example, the goal may be to find the value of R_(r) that minimizes the cost criterion η=MSE(R_(r))+λBR_(r) where λ is a factor that sets the relative importance of the distortion and the monetary cost.

With reference to FIG. 1, an embodiment of the apparatus 115 for decoding a sequence of data packets transmitted across the packet data network 130 is described in the following. The decoder or apparatus for decoding 115 includes a first decoder 150 for performing a decoding of the primary encoding into a set of primary decoded parameters. The decoder 150 further includes a parameter estimator 140 for modelling, under the control of a bit rate control signal, the joint distribution of a set of estimated parameters and a set of decoded redundant parameters generated from the received redundant encoding, and for estimating the estimated parameters based on the modelled distribution. As for the encoder 105, the bit rate control signal is provided by a bit rate controller 142 in response to a packet-loss statistics value received from the packet-loss statistics calculator 135 connected to the packet data network 130.

In a particular embodiment, the estimated parameters are missing parameters or lost parameters from either one of the received primary encoding and the received redundancy encoding.

In a particular embodiment, the model applied to the distribution of parameters is a Gaussian mixture model, which will be explained in more detail later.

When parameters of the redundant encoding or the primary encoding are lost (for example because data packets are lost), the parameter estimator 140 estimates the lost or missing parameters (also called estimated parameters in the following). The estimation is based in part on information transmitted from the first coder 110 across the packet data network, using received primary encoding parameters from previous and/or future blocks. In addition, the estimation of the lost parameters is based on redundant information transmitted from the scalable redundant coder 120. As the bit rate of the redundant encoding varies as a function of the rate set by the bit rate controller 142, both the set of redundant parameters and the encoding precision with which the redundancy coder 120 encodes these redundancy parameters may vary. Thus, in contrast to the decoder of a conventional fixed quantizer, the parameter estimator 140 can not use a predetermined table for decoding the redundancy encoding. Instead, the parameter estimator 142 uses an estimation procedure in which the joint distribution of the set of parameters estimated (or output) from the parameter estimator 142 and the decoded redundant parameters generated from the redundancy encoding is modelled. In a further embodiment, the parameter estimator 142 may model the distribution of the set of parameters estimated from the parameter estimator 142, the set of decoded redundant parameters generated from the received redundancy encoding and the decoded parameters generated from the received primary encoding. Except for the effect of quantization, the joint distribution of all parameters used can be extracted using a database in which data of the type of signal source that is transmitted has been collected. A basic joint distribution of the parameters is then obtained based on training using the data in a database and the processing of the data by encoder 105. Finally, the distribution may be corrected for the effect of quantization. This last step is done analytically and in real-time based on rate information provided by controller 140.

The correction of the said joint distribution for the quantization of the redundant parameters has to be done as the statistics of these parameters vary with the redundancy rate provided by the bit rate controller 142. Thus, upon receiving the redundant bit rate from the bit rate controller 142, the parameter estimator 140 can determine the specification of the distribution of the lost parameters or parameters to be estimated (also called estimated parameters or output parameters), given the quantized redundancy parameters, and the received parameters generated from the received primary encoding. In an embodiment, the distribution of the estimated parameters is the conditional probability distribution of these parameters given the quantized redundancy parameters and the received parameters generated from the primary encoding.

In a particular embodiment, the distribution is described as a Gaussian mixture model. Thus, using the conditional probability distribution of the estimated parameters, given the known quantized redundant parameters generated from the redundant encoding and/or the parameters generated from the received primary encoding, the parameter estimator 140 can model the joint distibution of these parameters and then estimate the estimated parameters. Different types of computation may be used to estimate the parameters. In a preferred embodiment, an estimate that minimizes the squared error is used. The minimum mean square estimate is simply the mean value of the missing parameters for the conditional probability distribution function with the known information as conditioning parameters.

FIG. 2 shows a system from transmitting a source signal across a packet data network 130 according to another embodiment of the present invention, in which the first coder 110 and the first decoder 150 are shown in more detail.

In general, any lossy source signal encoder or lossy first coder 110 can be considered as a three step processor. The first step is to generate a first set of parameters from the input source signal (also called source signal) in a parameter generator 112. The second step is to quantize the first set of parameters in a parameter quantizer 114, and the third step is to generate the primary encoding by encoding the quantized first set of parameters in the parameter encoder 116.

The parameters generated by the parameter generator 112 and the parameter quantizer 114 are accessible outside the first coder 110 and may be used by the redundancy coder 120 to achieve a low implementation complexity. The redundancy coder 120 generates a redundancy encoding at a desired redundancy bit rate or variable bit rate provided by the bit rate controller 142 using a subset of the first set of parameters and a delayed set of the quantized parameters generated from the first set of parameters, also called delayed quantized parameters. Thus, the redundancy encoding generated by the rate-scalable redundant coder 120 may be encoded in a layered way or by means of predictive encoding.

The primary encoding generated by the source signal encoder 110 (or the first coder 110) and the redundancy encoding generated by the redundancy coder 120 are transmitted over a communication channel or packet-switched network or packet data network 130. For a packet switched network, the primary encoding and the redundancy may be packed into different packets or into a single packet. For the latter case, either the stream of primary encodings or the stream of redundancy encodings needs to be delayed before the picketing.

A source signal decoder or first decoder 150 receives the stream of primary encodings and a parameter estimator 140 receives the stream of redundancy encodings. However, some packets, and therefore, some primary encodings and/or some redundancy encodings may have been lost by the packet data network 130. For the decoding process of each signal block, four different scenarios may emerge: both the primary encoding and the redundancy encoding is received; the primary encoding is lost, but the redundancy encoding is received; the primary encoding is received, but the redundancy encoding is lost; and both the primary encoding and the redundancy encoding is lost. Appropriate decoding scenarios for each of these situations are described in the following.

When only the primary encoding is available, the first decoder 150 may function normally by selecting the decoded parameters from the parameter decoder 152 in the selector 154 to be used for reconstructing the source signal by the source signal reconstructor 156.

When only the redundancy encoding is available, the parameter estimator 140 generates an estimate of the lost parameters based on the redundancy encoding, on available past (and/or future) parameters, and on prior information about the distribution of the source-coder parameters which corresponds to parameters collected to a database and related to a type of source signal. In this case, the selector 154 selects the estimated parameters to be used for reconstructing the source signal.

When both the primary encoding and the redundancy encoding are available, the parameter estimator 140 generates an enhanced estimate of the current parameters based on the redundancy encoding, on the current parameters decoded from the primary encoding, on available past (and/or future) parameters, and on prior information about the distribution of the source-coder parameters. The selector 154 selects the estimated parameters to be used for reconstructing the source signal.

When both the primary encoding and the redundancy are lost, the parameter estimator 140 generates an estimate of the estimated or lost parameters based on available past (and/or future) parameters and on prior information about the distribution of the source-coder parameters. The selector 154 selects the estimated parameters to be used for reconstructing the source signal also in this case.

FIG. 3 shows an apparatus 120 for encoding parameters of a signal source according to an embodiment of the present invention.

The apparatus for encoding 120 shown in FIG. 2 may be equivalent to the apparatus 120 for encoding that will be described with reference to FIG. 3.

The redundancy coder 120 may exploit the parameter vector of the previous block by means of a predictive coding structure composed of a delay unit 290 for delaying the quantized parameters generated by the first coder 110 from the first set of parameters and a parameter subset predictor 250 for predicting, under the control of the bit rate control signal, a set of predicted quantized parameters based on the delayed parameters. Further, the redundancy coder 120 includes a subtractor 260 for generating redundant parameters by subtraction of the set of predicted quantized parameters from the first set of parameters generated by the first coder 110 and at least one quantizer for quantizing, under the control of the bit rate control signal, the redundant parameters. Finally, an entropy coder 280 encodes, under the control of the bit rate control signal, the quantized redundant parameters thus generating a redundant bit stream.

In a particular embodiment, in order to facilitate continuous scalability of the redundancy bit rate, the encoding of the redundant parameters obtained by the subtractor 260 is based on a bank of uniform scalar quantizers 270. Alternatively, the quantizer 270 may be a vector quantizer.

In another particular embodiment, the quantizer 270 operates on the basis of a statistical model. This facilitates setting the redundancy rate to a desired value. In a particular embodiment, this model is a Gaussian mixture model.

The bit rate spent on the redundancy encoding is typically relatively low for packet-loss protection. Such a low bit rate and the usage of a bank of uniform scalar quantizers 270 leads, in general, to the encoding of only a subset of the first set of parameters (the source-coder parameters) or a transformed set of source coder parameters in the redundancy coder 120. The need for only a subset of the parameters is a function of the dependencies between the parameters and of the distortion criterion that is used. The need exists, e.g., for the case of parameters that are highly correlated and subject to a unweighted squared-error distortion criterion.

In a particular embodiment, in which the parameters of the first set are identical, encoding one of the parameters at a rate of, e.g., H results in significantly lower distortion than encoding both parameters at H/2. The validity of this argument decreases progressively with decreasing dependency between the parameters.

In another particular embodiment, in which the parameters are independent, both parameters would have to be encoded at a rate of H/2 to obtain the optimal rate-distortion performance. However, as is well known to those of ordinary skill in the art, in the case of applying an appropriate transform to parameters with identical marginal distribution to make the transformed parameters independent, a similar relation between the dependency of the non-transformed parameters and the importance of a subset of the transformed parameters exists.

The yet unquantized parameters generated by the parameter generator 112, i.e. the first set of parameters, may be transformed by the parameter transformer 230. The transform applied by the parameter transformer 230 depends on prior information about the distribution of the source-coder parameters and on the underlying distortion criterion. The objective of applying the transform is to make the parameters mutually independent to decrease the redundancy bit rate at a given average distortion and to simplify the computation of the distribution of the redundancy bit rate.

In case of a squared-error distortion criterion, the Karhunen-Loève transform (KLT) may be applied. Applying a linear transform such as the KLT to the column vector x that contains the first set of parameters (or source-coder parameters), i.e., the input of the parameter transformer 230, the output of the parameter transformer 230 is mathematically expressed as x =T·x,  (1) where x denotes the transformed parameters.

The application of the transform may be skipped, particularly in the case when the parameters of the first step are already mutually independent, or in the case when only an insignificant reduction of the redundancy bit rate at a given average distortion can be achieved. Skipping the application of the transform is mathematically expressed by setting T=I, where I represents the identity matrix.

The output of the parameter transformer 230 may be passed to a parameter subset selector 240. Depending on the redundancy bit rate distribution corresponding to the bit rate control signal provided by the bit rate controller 142, the parameter subset selector 240 outputs those elements of the transformed-parameter vector x, which were allocated a positive, non-zero redundancy bit rate. In matrix notation, the operation of the parameter subset selector 240 can be expressed as x =P _(x) · x,  (2) where P _(x) is the corresponding selection matrix. The form of the selection matrix is described with the following illustrative example. For a′given redundancy bit rate distribution that allocates bit rate, for instance, only among the second and the third element of the transformed parameter vector, the corresponding selection matrix is

${P\overset{\_}{x}} = {\begin{bmatrix} 0 & 1 & 0 & 0 & \ldots & 0 \\ 0 & 0 & 1 & 0 & \ldots & 0 \end{bmatrix}.}$ Additionally, an index subset S⊂{1, 2, . . . , dim x} may be introduced. For the case of the above illustrative example, the index subset can be expressed as S={2,3}.

In a particular embodiment, the first set of parameters is directly provided to the parameter selector 240, which selects the subset of selected parameters from the first set of parameters and provide this subset of selected unquantized parameters to the subtractor described above, where the first set of parameters subject to the operation of the subtraction is the set of selected unquantized parameters.

In an embodiment, the bit rate control signal is provided to a bit rate distributor 210 which, in its turn, provides the bit rate control signal to the parameter subset selector 240, the parameter subset predictor 250, the quantizer 270 or the plurality of quantizers 270 and the entropy encoder 280, as shown in FIG. 3. However, the bit rate control signal may directly be provided from the bit rate controller 142 to the parameter subset selector 240, the parameter subset predictor 250, the quantizer 270 or the plurality of quantizers 270 and the entropy encoder 280.

The computation of the redundancy bit rate distribution will be described later in this text.

The quantized parameters generated by the parameter quantizer 114 are accessible outside the first coder 110 to achieve a low implementation complexity. However, if the quantized parameters are not accessible, they need to be generated either from the primary encoding or from the first set of parameters (or unquantized parameters) generated from the source signal. In a particular embodiment, the primary encoding may be delayed, using a primary-encoding delay unit (not shown in the figures), with respect to the redundant encoding. In another particular embodiment, the redundant encoding may be delayed with respect to the primary encoding.

The primary encoding of one source signal segment may be grouped with redundant encoding of another source signal segment into a data packet to be transmitted over the packet data network 130.

The delay unit 290 delays the quantized parameters generated by the parameter quantizer 114 of the first coder 110 and a column vector comprising the delayed quantized parameters is denoted by v. For the example packet structure presented in FIG. 4, the delay is one block for the primary-encoding delay unit as well as for the delay unit 290. The delayed primary encoding can directly be packed and does not need to be further delayed before the picketing together with the redundancy generated by the redundancy coder 120. It is preferred that the redundant encoding and the primary encoding of a particular signal block are in different packets.

The parameter subset predictor 250 predicts the subset of transformed parameters from the delayed quantized parameters generated by the first coder 110 from the first set of parameters. In the case of a squared-error distortion criterion, the optimal predictor is the minimum mean squared-error (MMSE) estimator and can be expressed as {circumflex over (x)}={ X |V=v},  (3) where E{•} represents the expectation operator. As is common in the art, a capital letter for a vector represents a random variable, while a lower-case letter represents an observation of the underlying random variable. An approximation of the MMSE estimator can be implemented based on a model for the joint distribution P xv( x,v) using for instance a Gaussian mixture model (GMM). In a further embodiment, an alternative estimator, e.g., a linear estimator, may be used for the parameter subset predictor 250.

The subtractor 260 subtracts the set of predicted parameters generated by the parameter subset predictor 250 from the first set of parameters. Alternatively, the subtractor 260 may subtract the set of predicted parameters generated by the parameter subset predictor 250 from a subset of unquantized selected parameters generated by the parameter subset selector 240 from the first set of parameters. Alternatively, the subtractor 260 may subtract the set of predicted parameters generated by the parameter subset predictor 250 from a subset of selected parameters generated by the parameter subset selector 240 from a first set of transformed parameters. The output of the subtractor 260 is a vector containing the redundant parameters, or prediction residuals, r= x− {circumflex over (x)}.

In an alternative implementation, prediction may be skipped, i.e., the redundancy coder 120 may be implemented without the delay unit 290, without the parameter subset predictor 250, and without the subtractor 260. In this alternative implementation, the signals to be used as input by the bank of uniform scalar quantizers 270 are defined as r= x, and an appropriate adaptation of the implementation of the parameter estimator 140 must be made.

The elements of the vector r=[r_(i)],iεS may be uniformly scalar-quantized by a bank of uniform scalar quantizers 270 according to the following expression:

$\begin{matrix} {{{\overset{˘}{r}}_{i} = {{q_{i}\left( r_{i} \right)} = {{{round}\mspace{14mu}{\left( \frac{r_{i} - {E\left\{ R_{i} \right\}}}{\Delta_{i}} \right) \cdot \Delta_{i}}} + {E\left\{ R_{i} \right\}}}}},} & (4) \end{matrix}$ where Δ_(i) is the individual quantization step size of an individual uniform scalar quantizer q_(i)(•). The quantization step sizes are computed from the redundancy bit rate distribution by the redundancy bit rate distributor 210 or the bit rate controller 142 and may change as functions of time. The output of the bank of uniform scalar quantizers 270 are a set of quantized redundant parameters or scalar-quantized prediction residuals {hacek over (r)}_(i), iεS.

In a particular embodiment, the bit rate control signal provided by the bit rate controller includes information about the quantization step sizes. Further, the bit rate control signal may include the number of bits available for transmission of the data packets.

The final step of the redundancy coder 120 described with reference to FIG. 3 is to encode the quantized redundant parameters (or scalar-quantized prediction residuals) by means of an entropy coder 280, which is preferably an arithmetic coder. Since the redundancy bit rate is continuously variable, the entropy coder 280 operates under the control of the bit rate control signal, i.e., in a scalable manner. This scalability can be achieved by approximating the univariate probability mass functions for the distributions of the redundant parameters. The univariate probability density functions for the distributions of the redundant parameters (non-quantized prediction residuals pR _(i)(r_(i)) may be modelled by GMMs. The desired quantizer step size can then be computed using well-known high-rate theory relations between rate and step size for known distribution. The output of the entropy coder 280, which is the output of the redundancy coder 120, is a variable-length bit sequence representing the redundancy encoding.

FIG. 4 a packet structure according to an embodiment of the present invention, which packet structure may be used in the embodiments described with reference to FIGS. 1-3 and 5.

It is assumed that redundancy encoding of a block and the primary encoding of a block delayed by one block relative to the redundancy encoding's block are packed or regrouped together into a single packet 310. The total payload of the single packet 310 consists of the part of the packet's payload destined for the primary encoding 312 and the part of the packet's payload destined for the redundancy encoding 314.

Other packet structures may be used in the present invention. For example, a packet structure containing either one of the following alternatives may be used: the primary encoding of a block and two redundancy encodings that provide redundancy for two blocks posterior to the primary encoding's block or for two blocks prior to the primary encoding's block, or for one block prior to the primary encoding's block and one block posterior to the primary encoding's block. The redundancy coder 120 has then to be adapted accordingly:

FIG. 4 particularly shows an example for a packet-loss scenario in which two consecutive packets are shown, the single packet 310 and the single packet 320 subsequent to the single packet 310. In this example, it is assumed that the latter one is lost by the network 130.

FIG. 5 shows an apparatus for decoding data packets transmitted across a packet data network according to an embodiment of the present invention.

The apparatus for decoding shown in FIG. 5 may decode the data packet described with reference to FIG. 4, i.e., the single packet 310 comprising the primary encoding of block n−1 and the redundancy encoding of block n.

The received redundancy encoding is decoded by the entropy decoder 420, which outputs decoded redundant parameters. As for the entropy coder 280 described above with reference to FIG. 3, the entropy decoder 420 needs to operate rate-scalable.

The received primary encoding is decoded by the parameter decoder 152. The decoded primary parameters generated by the parameter decoder 152 are accessible outside the source signal decoder 150 to achieve a low implementation complexity. If the decoded parameters were not accessible, they would need to be generated from the received primary encoding.

In a particular embodiment, a buffer or storing means 450 may receive the decoded primary parameters and stores them such that they are available for the current as well as for the next N_(p)−1! coding blocks. The output of the buffer or storing means 450 is the set of decoded parameter vectors for the blocks n−N_(p), n−(N_(p)−1), . . . , n−2, n−1 and an indication of the availability for each of these blocks. This output is used as an input by a second-stage estimator 470. The decoded primary parameter vector of block n−1, possibly augmented by parameters of even earlier blocks, or blocks after block n as described below, is used by a parameter subset predictor 440 to predict a subset of predicted parameters. The operation of the parameter subset predictor 440 is equivalent to the operation of the parameter subset predictor 250. The adder 460 reconstructs the parameter subset by adding the decoded redundant parameters generated by the entropy decoder 420 and the output of the parameter subset predictor 440. The set of added parameters output by the adder 460 is denoted by x and is used as another input for the second-stage estimator 470.

If the receiving part of the communication system has a jitter buffer or a similar mechanism that involves a further delay, the parameter estimator 140 may access data packets that are future relative to the lost packet. The decoded parameter vectors obtained from the primary encodings from these future packets may be used as additional input for the second-stage estimator 470. In an alternative embodiment of the parameter estimator 140, the function of the buffer or storing means 450 may be extended to store past as well as future decoded primary parameters such that the output of the buffer 450 is the set of decoded parameter vectors for the blocks n−N_(p), . . . , n+N_(f) and an indication that tells the second-stage estimator 470 which of these blocks are available (i.e., not lost).

In a particular embodiment, the second-stage estimator 470 uses decoded parameters from the primary encodings of the blocks n−N_(p), . . . , n+N_(f) together with an indication of the availability for each of these blocks and the reconstructed uniformly scalar-quantized parameter subset of block n as input. The output of the second-stage estimator 470 is an estimate of the source-coder parameter vector of block n, i.e. the redundancy encoding. This allows the second-stage estimator 470 to be used in several loss scenarios. Depending on whether the decoded parameters from the primary encoding of block n is lost or available, the output of the second-stage estimator 470 is either an estimate of the lost source-coder parameter vector or an enhanced version of the received source-coder parameter vector.

In the case of a squared-error distortion criterion, the optimal estimator is the MMSE estimator {circumflex over (x)}=E{X|Y=y},  (5) where y is a column supervector that combines all available decoded parameter vectors from the primary encodings of the blocks n−N_(p), . . . , n+N_(f), said vectors denoted by the column supervector w, and the reconstructed uniformly scalar-quantized transformed parameter subset of block n, said subset denoted by the column vector x. A column supervector is a vertical concatenation of elements that may be column vectors. An approximation of the MMSE estimator can be implemented based on a model for the joint distribution PXY(x, y). Since Y depends on the loss scenario (i.e., which blocks are available in the current loss scenario) and on the redundancy bit rate, the distribution PXY(x, y) is dynamically generated for the current loss scenario and redundancy bit rate from a single static GMM.

A single GMM models the distribution of a random supervector Z that combines a vector of non-quantized source-coder parameters, i.e., the first set of parameters generated by the parameter generator 112 at coding block n and quantized source-coder parameter vectors, i.e. the quantized parameters generated by the parameter quantizer 114, of the N_(p)+N_(f)+1 Consecutive blocks n−N_(p), . . . , n+N_(f):

$\begin{matrix} {{{pz}(z)} \approx {\sum\limits_{m = 1}^{M}\;{{{pc}(m)}{N\left( {{z❘u^{(m)}},C^{(m)}} \right)}}}} & (6) \end{matrix}$

N(z|μ^((m)), C^((m))) is a multivariate Gaussian density with index m, which has mean μ^((m)|), covariance matrix C^((m)), and prior probability pc^((m)). The parameters of the GMM μ^((m)), C^((m)), and pc(m) ∀mε{1, 2, . . . , M} must be trained using an appropriate algorithm such as the EM algorithm. Generating PXY(x, y) from pz(z):

The vector X is a component of the supervector Z. That is, X=P _(x) ·Z,  (7) where P_(x) is the corresponding selector matrix that extracts the appropriate elements of Z to form X. The supervector Iris a concatenation of W and X. That is,

$\begin{matrix} {Y = {\begin{bmatrix} W \\ \overset{=}{X} \end{bmatrix}.}} & (8) \end{matrix}$ The supervector W is a component of the supervector Z. That is, W=P _(w) ·Z,  (9) where P_(w) is the corresponding selector matrix that extracts the appropriate elements of Z to form W. The vector X can be generated from X by X ≈P _(x) ·T·X+P _(x) ·N,  (10) where N is an additive noise to model the effect of the quantization. This additive noise is described in more detail later in the text. Using equations (7), (9), and (10), equation (8) can be written as

$\begin{matrix} {{Y \approx {{\begin{bmatrix} P_{w} \\ {P_{\overset{\_}{X}} \cdot T \cdot P_{X}} \end{bmatrix} \cdot Z} + \begin{bmatrix} 0 \\ {P_{\overset{\_}{X}} \cdot N} \end{bmatrix}}},i} & (11) \end{matrix}$ where 0 is a column vector whose elements are zeros. 0 has the same dimension as W: dim0=dim W. For notational simplicity, the matrix P_(Y) is introduced and defined as:

$\begin{matrix} {P_{Y} = {\begin{bmatrix} P_{W} \\ {P_{\overset{\_}{X}} \cdot T \cdot P_{X}} \end{bmatrix} \cdot}} & (12) \end{matrix}$ The effect of the bank of uniform scalar quantizers 270 is modelled for each mixture component of the GMM by additive, zero-mean, Gaussian noise independent of all other random variables. The parameters of the GMM to model PXY(x, y) that are required to approximate the MMSE estimate in the second-stage estimator 470 are the mean vectors μ_(x) ^((m)) =P _(x)μ^((m)) and  (13) μ_(Y) ^((m)) =P _(Y)μ^((m))  (14) and the covariance matrices

$\begin{matrix} {{C_{X}^{(m)} = {P_{X}C^{(m)}P_{X}^{T}}},} & (15) \\ {{C_{XY}^{(m)} = {P_{X}C^{(m)}P_{Y}^{T}}},\mspace{14mu}{and}} & (16) \\ {C_{Y}^{(m)} = {{P_{Y}C^{(m)}P_{Y}^{T}} + {{{diag}\begin{bmatrix} 0 \\ {P_{\overset{\_}{X}} \cdot {\sigma_{N}(m)}} \end{bmatrix}} \cdot}}} & (17) \end{matrix}$ σ_(N)(m) is a column vector that contains the additive noise variances σ² _(N) _(i) _((m)) ∀iε{1, 2, . . . , dim X}. The computation of these additive noise variances is described in the subsection on the computation of the redundancy bit rate distribution below (see equation (27)). The GMM-based approximation for the MMSE estimator of equation (5) to estimate X given Y is

$\begin{matrix} {\overset{̑}{x} = {{E\left\{ {{X❘Y} = y} \right\}} \approx {\sum\limits_{m = 1}^{M}\;{{p_{C❘Y}\left( {m❘y} \right)}\mu_{X❘Y}^{(m)}\mspace{14mu}{with}}}}} & (18) \\ {{p_{C❘Y}\left( {m❘y} \right)} = {\frac{{{pc}(m)}{N\left( {{y❘\mu_{Y}^{(m)}},C_{Y}^{(m)}} \right)}}{p_{Y}(y)}\mspace{14mu}{and}}} & (19) \\ {\mu_{X❘Y}^{(m)} = {\mu_{X}^{(m)} + {{C_{XY}^{(m)}\left( C_{Y}^{(m)} \right)}^{- 1}{\left( {y - \mu_{Y}^{(m)}} \right).}}}} & (20) \end{matrix}$ To achieve a low implementation complexity, the distribution p xv( x, v) required for the parameter subset predictor 440 and for the parameter subset predictor 250 can also be generated from the single GMM that models pz(z). Using the relations X =P _(x) ·T·P _(x) ·Z  (21) and v=P _(v) ·Z,  (22) where P_(v) is the corresponding selector matrix that extracts the appropriate elements of Z to form V, an approximation of the MMSE estimator of equation (3) can easily be implemented.

Computation of the redundancy bit rate distribution is described in the following. The redundancy bit rate distribution has to be recomputed whenever the given overall redundancy bit rate changes. The redundancy bit rate distribution may also be recomputed when the packet structure is changed. The computation may be performed by the redundancy bit rate distributors 210 and 410 or the bit rate controller 142, which distributors or controller may be arranged either at the redundancy coder 120 or the parameter estimator 140.

The given overall redundancy bit rate is denoted by H. All in this text used bit rates are average bit rates expressed in bits/block. To calculate the redundancy bit rate distribution means to compute the set of individual bit rates H_(i) spent on encoding the elements X _(i) of X. The sum of all individual rates is the overall rate

$\begin{matrix} {{H = {\sum\limits_{i = 1}^{\dim\overset{\_}{X}}\; H_{i}}},} & (23) \end{matrix}$ which is a constraint in the computation of the rate distribution. As was stated earlier, in general, a subset of the transformed source-coder parameters, i.e. a subset of predicted parameters generated from the first se of parameters, is encoded to form the redundancy encoding. Thus, some H_(i) may be zero. One output of the redundancy bit rate distributors 210 and 410 or the bit rate controller 142 may be the index subset S={i:iε{1, 2, . . . , dim x}

H_(i)>0}

In case of independent parameters, different methods to derive the redundancy bit rate distribution may be applied.

If dependent parameters are encoded, the redundancy bit rate distribution may be derived on the basis of a Gaussian model (i.e., M=1). For a Gaussian model, the MMSE estimate is {circumflex over (x)}=μ_(X|Y) and the estimation error variance is MSE=trC_(X|Y)=trC_(X|W)−MSE_(Δ)·MSE_(Δ) is the reduction in error variance due to having X in addition to the estimator side information W. It should be noted that for the computation of the redundancy bit rate distribution, the estimator side information W represents a known random variable for the given packet structure and network condition typical scenario. In the simplest case, the parameter subset contains only a single element X _(i) of X. The encoding of only a single element may be the consequence of a constraint on the implementation complexity. The reconstruction of the single encoded element is modelled as X= X _(i)+N_(i). Upon applying the inversion lemma for a partitioned matrix and simplification of the trace the reduction in error variance is rewritten as

$\begin{matrix} {{MSE}_{\Delta} = {\frac{{{C_{X{\overset{\_}{X}}_{i}} - {C_{XW}C_{W}^{- 1}C_{W{\overset{\_}{X}}_{i}}}}}^{2}}{\sigma_{N_{i}}^{2} + \sigma_{{\overset{\_}{X}}_{i}}^{2} - {C_{{\overset{\_}{X}}_{i}W}C_{W}^{- 1}C_{W{\overset{\_}{X}}_{i}}}}.}} & (24) \end{matrix}$ The optimal single variable X _(i) is easily found by i*=arg max_(i)MSE_(Δ). The additive noise variance σ² _(N) _(i) is a function of the rate spent on encoding the single element (see equation (25) below).

The additive noise in the model used above does not represent the actual quantization noise produced by the bank of uniform scalar quantizers 270. However, when the noise variance is selected such that the mutual information between the Gaussian variable and its noisy version is equal to the entropy of the quantized Gaussian, the same result is obtained as that obtained with the conventional backward-channel model of rate-distortion theory.

To account for the prediction prior to quantization, the computation of the additive noise variance σ² _(N) _(i) has to be based on the properties of the prediction residual R_(i) instead of X _(i). For the Gaussian model, the residual is also Gaussian with the variance σ² _(r) _(i) =σ² _(X) _(i) −C _(x) _(i) _(v)C_(v) ⁻¹C_(v X) _(i) , and the additive noise variance in equation (24) is computed by

$\begin{matrix} {\sigma_{N_{i}}^{2} = {\frac{\sigma_{R_{i}}^{2}}{2^{2H_{i}} - 1}.}} & (25) \end{matrix}$ The rate saving due to predictive encoding is

$\begin{matrix} {H_{i}^{\prime} = {\frac{1}{2}\log_{2}{\frac{\sigma_{{\overset{\_}{X}}_{i}}^{2} + \sigma_{N_{i}}^{2}}{\sigma_{R_{i}}^{2} + \sigma_{N_{i}}^{2}}.}}} & (26) \end{matrix}$ The form of equation (24) indicates a saturation in estimation performance at higher rates (or equivalently for σ² _(N) _(i) <<σ² _(X) _(i) −C _(X) _(i) _(W)C_(W) ⁻¹C_(W X) _(i) ). Therefore, for higher rates, a subset with more variables should be encoded. To find the optimal subset and redundancy bit rate distribution, equation (24) is modified and used in an iterative manner. W in equation (24) is replaced by W_(i) that combines estimator side information W and all transformed parameters but X _(i)MSE_(Δ)(H_(i)) is then obtained as a function of the entropy H_(i) while all other entropies H_(j≠i) are considered to be fixed. The form of equation (24) allows a derivation of the slopes

$\frac{\partial{MSE}}{\partial H_{i}};$ for all elements of the vector X. Rate is then iteratively redistributed from the variable with the flattest slope to the variable with the steepest slope under the constraints given by equation (23) and by H_(i)≧0. The procedure converges quickly towards a redundancy bit rate distribution where the slopes of the variables with non-zero bit rate are equal. The index subset S is then easily obtained from the redundancy bit rate distribution.

The bit rate control signal output by the redundancy bit rate distributors 210 and 410 or the bit rate controller 142 may include the quantization step sizes Δ_(i) of the bank of uniform scalar quantizers 270. These quantization step sizes are also required by the entropy coder 280 and by the entropy decoder 420. The quantization step sizes are determined based on statistical models for the prediction residuals R_(i). For a given allocated bit rate H_(i), the corresponding individual quantization step size Δ_(i) is selected such that the entropy of the quantized residual equals the allocated bit rate: H(q_(i)(R_(i)))=H_(i). Since the system works typically with relatively low rates, a look-up table for the quantizer step size versus entropy may be used. At higher rates, high-rate approximations may be used.

In a particular embodiment, the redundancy bit rate distributor 410 or bit rate controller may provide a bit rate control signal to the second-stage estimator 470 including the additive noise variances σ_(N) _(i) ²(m).

A statistical model for the supervector Z that includes the prediction residuals R_(i) may not be required, but the additive noise variances used in equation (17) are calculated based on virtual uniform scalar quantizers p′_(i)(•) with step sizes Δ′_(i) such that H(q′_(i)( X _(i)))=H_(i)+H′_(i):

$\begin{matrix} {{\sigma_{N_{i}}^{2}(m)} = {\frac{\sigma_{{\overset{\sim}{X}}_{i}}^{2}(m)}{2^{2{H{({q_{i}^{\prime}{({\overset{\_}{X}}_{i}^{(m)})}})}}} - 1}.}} & (27) \end{matrix}$ At sufficiently high resolutions, the entropy of the quantized Gaussian H(q′_(i)( X _(i) ^((m)))) as a function of the virtual step size Δ′_(i) can be obtained by high-rate approximations well known in the art, and at vanishing rates, a look-up table may be used.

Although the invention above has been described in connection with preferred embodiments of the invention, it will be evident for a person skilled in the art that several modifications are conceivable without departing from the scope of the invention as defined by the following claims. 

The invention claimed is:
 1. A method for encoding a source signal to be transmitted over a packet data network, said method including the steps of: encoding, by a first encoder, a first set of parameters generated from said source signal; generating quantized parameters from the first set of parameters; generating a delayed set of the quantized parameters; generating a second set of parameters using a subset of the first set of parameters and the delayed set of the quantized parameters; receiving, at a second encoder, a bit rate control signal; and encoding, by the second encoder, the second set of parameters into a redundant bit stream having a variable bit rate, the variable bit rate corresponding to the received bit rate control signal.
 2. The method of claim 1, wherein the first encoder is a source signal encoder and the second encoder is a redundancy encoder.
 3. The method of claim 1, wherein the second encoder encoding the second set of parameters includes encoding at least a part of a difference between the subset of the first set of parameters and predicted values of the delayed set of the quantized parameters.
 4. The method of claim 3, wherein the second encoder encoding the second set of parameters includes: delaying the quantized parameters generated from the first set of parameters; generating a set of predicted quantized parameters based on the delayed quantized parameters and the bit rate control signal; generating redundant parameters using the set of predicted quantized parameters and the subset of the first set of parameters; quantizing the redundant parameters using the bit rate control signal; and encoding the quantized redundant parameters into the redundant bit stream using the bit rate control signal.
 5. The method of claim 4, wherein the second encoder encoding the second set of parameters further includes: applying a transform to the first set of parameters; and selecting the subset of the first set of parameters from the transformed first set of parameters using the bit rate control signal.
 6. The method of claim 4, further comprising grouping a primary encoding of a first source signal segment with a redundant encoding of a second source signal segment into a data packet to be transmitted over said packet data network.
 7. The method of claim 3, further comprising grouping a primary encoding of a first source signal segment with a redundant encoding of a second source signal segment into a data packet to be transmitted over said packet data network.
 8. The method of claim 1, wherein the second encoder encoding the second set of parameters includes: delaying the quantized parameters generated from the first set of parameters; generating a set of predicted quantized parameters based on the delayed quantized parameters and the bit rate control signal; generating redundant parameters using the set of predicted quantized parameters and the subset of the first set of parameters; quantizing the redundant parameters using the bit rate control signal; and encoding the quantized redundant parameters into the redundant bit stream using the bit rate control signal.
 9. The method of claim 8, wherein the second encoder encoding the second set of parameters further includes: applying a transform to the first set of parameters; and selecting the subset of the first set of parameters from the transformed first set of parameters using the bit rate control signal.
 10. The method of claim 9, further comprising grouping a primary encoding of a first source signal segment with a redundant encoding of a second source signal segment into a data packet to be transmitted over said packet data network.
 11. The method of claim 8, further comprising grouping a primary encoding of a first source signal segment with a redundant encoding of a second source signal segment into a data packet to be transmitted over said packet data network.
 12. The method of claim 1, further comprising grouping a primary encoding of a first source signal segment with a redundant encoding of a second source signal segment into a data packet to be transmitted over said packet data network.
 13. An apparatus for encoding a source signal to be transmitted over a packet data network, the apparatus comprising: a first coder configured to: generate a first set of parameters from said source signal, generate quantized parameters from said first set of parameters, and encode said quantized parameters; and a second coder configured to: encode a second set of parameters of the source signal into a redundant bit stream using a subset of the first set of parameters and a delayed set of said quantized parameters, said second set of parameters being a subset of the first set of parameters and said redundant bit stream having a variable bit rate corresponding to a received bit rate control signal.
 14. The apparatus of claim 13, wherein the first coder is a source signal coder and the second coder is a redundancy coder.
 15. The apparatus of claim 13, wherein the second coder is further configured to: generate the delayed set of the quantized parameters by delaying the quantized parameters generated from the first set of parameters; generate a set of predicted quantized parameters based on the delayed set of quantized parameters and the bit rate control signal; generate redundant parameters using the set of predicted quantized parameters and the subset of the first set of parameters; quantize the redundant parameters using the bit rate control signal; and encode the quantized redundant parameters into the redundant bit stream using the bit rate control signal.
 16. The apparatus according to claim 15, wherein the second coder is further configured to: apply a transform to the first set of parameters; and select the subset of the first set of parameters from the transformed first set of parameters using the bit rate control signal.
 17. A method for encoding a source signal to be transmitted over a packet data network, said method including the steps of: encoding a first set of parameters generated from said source signal; generating quantized parameters from the first set of parameters; delaying the quantized parameters generated from the first set of parameters; receiving a bit rate control signal; generating a set of predicted quantized parameters based on the delayed quantized parameters and the bit rate control signal; generating redundant parameters using the set of predicted quantized parameters and a subset of the first set of parameters; quantizing the redundant parameters using the bit rate control signal; and encoding the quantized redundant parameters into a redundant bit stream using the bit rate control signal, the redundant bit stream having a variable bit rate corresponding to the bit rate control signal.
 18. The method of claim 17, further comprising encoding at least a part of a difference between the subset of the first set of parameters and the predicted quantized parameters.
 19. The method of claim 17, further comprising: applying a transform to the first set of parameters; and selecting the subset of the first set of parameters from the transformed first set of parameters using the bit rate control signal.
 20. The method of claim 17, further comprising grouping a primary encoding of a first source signal segment with a redundant encoding of a second source signal segment into a data packet to be transmitted over said packet data network. 